// pages/service/serviceDetail/comps/shopInfo/shopInfo.js
Component({
    /**
     * 组件的属性列表
     */
    properties: {
        shopInfo: Object,
        shopDistance: String
    },

    /**
     * 组件的初始数据
     */
    data: {

    },

    /**
     * 组件的方法列表
     */
    methods: {
        goNavigation: function() {
            this.triggerEvent('goNavigation')
        },
        goPhoneCall: function(e) {
            this.triggerEvent('goPhoneCall', e.currentTarget.dataset.phone)
        }
    }
})